/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package com.lineage.server.templates;

import java.sql.Timestamp;

/**
 * Class <code>L1Inn</code> 数据库模版:旅馆.
 * 
 * @author jrwz
 * @version 2012-6-16上午11:32:57
 * @see com.lineage.server.templates
 * @since JDK1.7
 */
public final class L1Inn {

    /** 旅馆NPC编号. */
    private int npcId;
    /** 旅馆房间编号. */
    private int roomNumber;
    /** 旅馆钥匙ID. */
    private int keyId;
    /** 旅馆房客ID. */
    private int lodgerId;
    /** 是否为旅馆大厅. */
    private boolean isHall;
    /** 旅馆到期时间. */
    private Timestamp dueTime;

    /**
     * 取得旅馆到期时间.
     * 
     * @return 旅馆到期时间
     */
    public Timestamp getDueTime() {
        return this.dueTime;
    }

    /**
     * 取得旅馆NPC编号.
     * 
     * @return 旅馆NPC编号
     */
    public int getInnNpcId() {
        return this.npcId;
    }

    /**
     * 取得旅馆钥匙ID.
     * 
     * @return 旅馆钥匙ID
     */
    public int getKeyId() {
        return this.keyId;
    }

    /**
     * 取得旅馆房客ID.
     * 
     * @return 旅馆房客ID
     */
    public int getLodgerId() {
        return this.lodgerId;
    }

    /**
     * 取得旅馆房间编号.
     * 
     * @return 旅馆房间编号
     */
    public int getRoomNumber() {
        return this.roomNumber;
    }

    /**
     * 是否为旅馆大厅.
     * 
     * @return true or false
     */
    public boolean isHall() {
        return this.isHall;
    }

    /**
     * 设置旅馆到期时间.
     * 
     * @param i
     *            旅馆到期时间
     */
    public void setDueTime(final Timestamp i) {
        this.dueTime = i;
    }

    /**
     * 设置是否为旅馆大厅.
     * 
     * @param flag
     *            true or false
     */
    public void setHall(final boolean flag) {
        this.isHall = flag;
    }

    /**
     * 设置旅馆NPC编号.
     * 
     * @param i
     *            旅馆NPC编号
     */
    public void setInnNpcId(final int i) {
        this.npcId = i;
    }

    /**
     * 设置旅馆钥匙ID.
     * 
     * @param i
     *            旅馆钥匙ID
     */
    public void setKeyId(final int i) {
        this.keyId = i;
    }

    /**
     * 设置旅馆房客ID.
     * 
     * @param i
     *            旅馆房客ID
     */
    public void setLodgerId(final int i) {
        this.lodgerId = i;
    }

    /**
     * 设置旅馆房间编号.
     * 
     * @param i
     *            旅馆房间编号
     */
    public void setRoomNumber(final int i) {
        this.roomNumber = i;
    }
}
